{% load i18n %}

<div style="padding: 5px">
    <form action="../?f={{ parent_path }}" method="post">
        <input type="hidden" name="item" value="{{ current.filename }}"/>
        {% if current.is_editable %}
        <input type="button" value="{% trans "Edit" %}" onclick="window.location = '../{{ current.edit_link }}'"/>
        {% endif %}
        <input type="submit" name="delete" value="{% trans "Delete" %}"/>
        <input type="submit" name="rename" value="{% trans "Rename" %}"/>
        <input type="submit" name="move" value="{% trans "Move" %}"/>
    </form>
</div>

